Skip to content

fix: remove unnecessary RETURNING * from database adapter update#555

Merged
wschurman merged 1 commit intomainfrom
wschurman/04-01-fix_remove_unnecessary_returning_from_database_adapter_update
Apr 2, 2026
Merged

fix: remove unnecessary RETURNING * from database adapter update#555
wschurman merged 1 commit intomainfrom
wschurman/04-01-fix_remove_unnecessary_returning_from_database_adapter_update

Conversation

@wschurman
Copy link
Copy Markdown
Member

@wschurman wschurman commented Apr 1, 2026

Why

When reviewing #540, I noticed that the RETURNING * isn't necessary, even in the normal case (since #233).

How

Remove the RETURNING *, return a simple updatedRowCount instead for error behavior.

Test Plan

Run tests.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wschurman wschurman marked this pull request as ready for review April 1, 2026 16:02
@wschurman wschurman requested a review from ide April 1, 2026 16:02
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4709f53) to head (10a0a44).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #555   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          110       110           
  Lines        17588     17582    -6     
  Branches      1515      1515           
=========================================
- Hits         17588     17582    -6     
Flag Coverage Δ
integration 28.35% <33.33%> (+0.01%) ⬆️
unittest 95.19% <66.66%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wschurman wschurman force-pushed the wschurman/04-01-fix_remove_unnecessary_returning_from_database_adapter_update branch from 50f5f25 to 10a0a44 Compare April 2, 2026 15:09
@wschurman wschurman merged commit 2693fbc into main Apr 2, 2026
6 checks passed
@wschurman wschurman deleted the wschurman/04-01-fix_remove_unnecessary_returning_from_database_adapter_update branch April 2, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants